package cn.tedu.submarine;

import javax.swing.*;
import java.util.Random;

/*
鱼雷潜艇
 */
public class TorpedoSubmarine extends SeaObject implements EnemyScore{
    TorpedoSubmarine() {
        super(64,20);
    }

    /*重写Move移动*/
    public void move() {
        x += speed;
    }

    public ImageIcon getImage(){
        return Images.torpesubm;
    }
    public int getScore(){
        return 40;
    }
}
